class A {
	public int i=0;
	A () {
	}
	A (int m) {
		i=1;
	}
}
public class B extends A {
	B (int m) {
	  i = 2;
	}
	public static void main(String args[]){
		B b = new B(100);
		System.out.println(b.i);  
	}
}
